package demo.java.lang.management.vo;

import java.util.ArrayList;
import java.util.List;

public class JavaProcess {

    private StartupInfo            startupInfo;
    private List<JVMThreadInfo>    theadInfos        = new ArrayList<JVMThreadInfo>();
    private List<GarbageCollectorInfo> garbageCollectorInfos = new ArrayList<GarbageCollectorInfo>();
    private List<MemoryPool>       memoryPools       = new ArrayList<MemoryPool>();
    private JVMClassLoading        classLoading;
    private JVMProcessStat         processStat;

    public StartupInfo getStartupInfo() {
        return startupInfo;
    }

    public void setStartupInfo(StartupInfo startupInfo) {
        this.startupInfo = startupInfo;
    }

    public List<GarbageCollectorInfo> getGarbageCollectorInfos() {
        return garbageCollectorInfos;
    }

    public void setGarbageCollectorInfos(List<GarbageCollectorInfo> garbageCollectorInfos) {
        this.garbageCollectorInfos = garbageCollectorInfos;
    }

    public List<MemoryPool> getMemoryPools() {
        return memoryPools;
    }

    public void setMemoryPools(List<MemoryPool> memoryPools) {
        this.memoryPools = memoryPools;
    }

    public JVMClassLoading getClassLoading() {
        return classLoading;
    }

    public void setClassLoading(JVMClassLoading classLoading) {
        this.classLoading = classLoading;
    }

    public JVMProcessStat getProcessStat() {
        return processStat;
    }

    public void setProcessStat(JVMProcessStat processStat) {
        this.processStat = processStat;
    }


    public List<JVMThreadInfo> getTheadInfos() {
        return theadInfos;
    }

    public void setTheadInfos(List<JVMThreadInfo> theadInfos) {
        this.theadInfos = theadInfos;
    }
}
